@import 'antd/es/style/themes/default.less';
.footer {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;

  height: 32px;
}
.footer-info {
  display: flex;
  align-items: center;
  flex: 1;
  flex-direction: row;
  justify-content: flex-start;

  color: @heading-color;
  > span {
    margin-right: 16px;
  }
}
.footer-btns {
  display: inline-block;

  width: 150px;

  text-align: right;
}
.require {
  &::before {
    font-family: SimSun, sans-serif;
    font-size: 14px;
    line-height: 1;

    display: inline-block;

    margin-right: 4px;

    content: '*';

    color: @error-color;
  }
}

.header {
  line-height: 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 32px;
}

.header-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 80px;
  height: 32px;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  cursor: pointer;
  user-select: none;

  border: 1px solid @border-color-base;
  border-radius: 50%;
  &:hover {
    color: @primary-color;
    border-color: @primary-color;
  }
  &.disable {
    cursor: no-drop;

    background-color: @grey-2;
  }
}

.header-date {
  position: relative;

  display: inline-flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
}

.header-date-text {
  font-size: @heading-4-size;

  color: @heading-color;
}

.datepicker {
  position: absolute;
  bottom: 0;
  left: 0;

  overflow: hidden;

  width: 0;
  height: 0;
}

.calendar-icon {
  font-size: 18px;

  margin-left: 8px;
}

.room-container {
  overflow: hidden;
}

.room-list {
  margin-right: -20px;
  margin-bottom: -10px;
  &::after {
    display: inline-block;
    clear: both;

    content: '';
  }
}

.room-cell {
  line-height: 24px;

  display: inline-block;

  box-sizing: border-box;
  width: 150px;
  height: 150px;
  margin: 10px 20px 10px 0;
  padding: 0 8px;

  cursor: pointer;
  text-align: center;
  vertical-align: top;

  border: 1px solid @border-color-base;
  border-radius: @border-radius-base;
  background-color: @grey-1;
  &.active {
    color: #fff;
    background-color: @primary-color;
  }
  &.disable {
    cursor: not-allowed;

    color: @text-color-secondary;
    background-color: @grey-3;
  }
}

.room-title {
  font-weight: bold;

  padding-top: 8px;

  text-align: left;
}
